﻿using STHPMS1.ICore.I_Entity;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.ICore.I_DAL.Repository
{
    public interface IDm_Origpv_RegRepository : IDal
    {
        /// <summary>
        /// 通过路段获模型
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="mainSegId"></param>
        /// <returns></returns>
        T GetOrigpvRegByMainSeg<T>(string mainSegId)
            where T : IDm_Origpv_Reg;
    }
}
